package com.yashi.entity;

import com.yashi.filter.UserFilter;

/**
 * 聊天记录表; InnoDB free: 169984 kB
 * 
 * @author wcyong
 * 
 * @date 2018-09-17
 */
public class TbUserChat {
    /**
     * id
     */
    private String id;

    /**
     * 发送者id
     */
    private String sendId;

    /**
     * 接收者id
     */
    private String receiveId;

    /**
     * 内容
     */
    private String content;

    /**
     * 创建时间
     */
    private String createDate;

    /**
     * 是否删除（‘0’未删除：‘1’删除）
     */
    private String delFlag;

    /**
     * 文件地址
     */
    private String fileUrl;
    
    /**
     * 文件名称
     */
    private String fileName;

    /**
     * "0":表示用户聊天记录，“1”群组聊天记录
     */
    private String type;

    /**
     * 发送者姓名
     */
    private String sendName;

    /**
     * 接收者姓名
     */
    private String receiceName;
    /**
     * 是否已读
     */
    private String isread;
    /**
     * 文件类型
     */
    private String filetype;
    
    /**
     * 用户信息
     */
    private UserFilter user;
    
    public String getFiletype() {
		return filetype;
	}

	public void setFiletype(String filetype) {
		this.filetype = filetype;
	}

    
    public String getIsread() {
		return isread;
	}

	public void setIsread(String isread) {
		this.isread = isread;
	}

    
    public UserFilter getUser() {
		return user;
	}

	public void setUser(UserFilter user) {
		this.user = user;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSendId() {
        return sendId;
    }

    public void setSendId(String sendId) {
        this.sendId = sendId == null ? null : sendId.trim();
    }

    public String getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId == null ? null : receiveId.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate == null ? null : createDate.trim();
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl == null ? null : fileUrl.trim();
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName == null ? null : sendName.trim();
    }

    public String getReceiceName() {
        return receiceName;
    }

    public void setReceiceName(String receiceName) {
        this.receiceName = receiceName == null ? null : receiceName.trim();
    }
}